package com.zyicoding.myfactory.service;

import com.zyicoding.myfactory.pojo.Goodsinfo;
import com.zyicoding.myfactory.util.JsonResult;

import java.util.List;

public interface GoodsInfoService {
    List<Goodsinfo> selectAllGoodsInfo();
    JsonResult buyGoods(int id, int count);
}
